package com.ygqh.baby.service;

import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgBalanceExtraReward;

public interface YgBalanceExtraRewardService {

	List<YgBalanceExtraReward> find();

	int findCount();

	YgBalanceExtraReward findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgBalanceExtraReward ygBalanceExtraReward);

	int update(YgBalanceExtraReward ygBalanceExtraReward);

	int saveOrUpdate(YgBalanceExtraReward ygBalanceExtraReward);

	ResultSet<YgBalanceExtraReward> search(QueryInfo queryInfo, String q);

	int addBatch(List<YgBalanceExtraReward> result);

}
